<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
        Remove this if you use the .htaccess -->
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>new_file</title>
        <meta name="description" content="" />
        <meta name="author" content="rahul.kumar" />
        <meta name="viewport" content="width=device-width; initial-scale=1.0" />

       
  
        <script src="engine/core/rendering2D/Point.js"></script>
        <script src="engine/core/rendering2D/Settings.js"></script>
        <script src="URL.js"></script>
        
        <script src="engine/core/events/EventDispatcher.js"></script>
        <script src="engine/core/events/GameEvent.js"></script>
        <script src="engine/core/rendering2D/Camera.js"></script>
        <script src="engine/core/rendering2D/manager/SpatialManager.js"></script>
        <script src="engine/core/rendering2D/manager/DefaultSpatialManager.js"></script>
        <script src="engine/core/Engine.js"></script>
        <script src="engine/core/rendering2D/Layers.js"></script>
        <script src="engine/core/rendering2D/Layer.js"></script>

        <script src="engine/core/rendering2D/DisplayObject.js"></script>
        <script src="engine/core/rendering2D/BlisImage.js"></script>
        <script src="engine/core/iso/display/IsoPrimitive.js"></script>
        <script src="engine/core/iso/display/IsoGrid.js"></script>


        <script src="engine/core/iso/Pt.js"></script>
        <script src="engine/core/iso/DefaultIsometricTransformation.js"></script>
        <script src="engine/core/iso/IsoMath.js"></script>
        
        <script src="ResourceLoader.js"></script>
        
         <script src="example/tetris/Controller.js"></script>
         <script src="example/tetris/TetrisSpatialManager.js"></script>
        <script src="example/tetris/Entity.js"></script>
        
        <script src="example/tetris/pieces/Minus.js"></script>
        <script src="example/tetris/Main.js"></script>
        
        
        <!--        <script src="example/tetris/Main.js"/>-->


        <!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
        <link rel="shortcut icon" href="/favicon.ico" />
        <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
    </head>
    <body>
        <div  id="main" style="position: absolute;left: 300px;top: 100px;"></div>
        <div  id="main2" style=""></div>
    </body>
    <script>
        var engine;
        var camera;
            
        function init() {
            this.main = new Main();
            document.getElementById("main").appendChild(main.camera.mainCanvas);
            Controller.camera = this.main.camera;
            var controller = new  Controller();
            controller.spawnANewPiece();
            
        }
        init();
            
    </script>

</html>
